import {createApp} from 'vue'
// import './style.css'
import './assets/css/index.scss'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from "./router";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { setupStore } from './store'
import {axiosPlugin} from './plugins/axios';
import 'amfe-flexible'
import rem from './plugins/rem'

const app = createApp(App)
setupStore(app)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(router).use(axiosPlugin).use(ElementPlus).use(rem).mount("#app")
